package org.dromara.xhlj.domain.bo;

import org.dromara.xhlj.domain.XhljProductFeedback;
import lombok.*;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.*;

import java.util.Date;
import java.io.Serial;
import java.io.Serializable;

/**
 * 展商产品反馈留言业务对象 xhlj_product_feedback
 *
 * @author yf
 * @date 2024-07-28
 */
@Data
@AutoMapper(target = XhljProductFeedback.class, reverseConvertGenerate = false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class XhljProductFeedbackBo extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 反馈留言ID
     */
    @NotNull(message = "反馈留言ID不能为空", groups = {EditGroup.class})
    private Integer feedbackId;
    /**
     * 反馈留言内容
     */
    private String feedback;
    /**
     * 产品ID
     */
    private Integer enterpriseProductId;
    /**
     * 创建人wx_user（留言用户）
     */
     private Integer createBy;
    /**
     * 评分（1至5星）
     */
    private Integer rating;
}
